package com.openbravo.pos.inventory.model;

import com.openbravo.bean.erp.OperationCustomer;
import com.openbravo.pos.base.AppLocal;

import cn.ekuma.data.ui.swing.AbstractDTOTableModel;

public class OperationCustomerTableModel extends AbstractDTOTableModel<OperationCustomer> {

	@Override
	public Object getValueAt(int rowIndex, int columnIndex) {	
		return  objs.get(rowIndex).getCustomer().getName();
	}

	@Override
	public String[] getColumnNames() {
		return new String[] {AppLocal.getIntString("label.customer")};
	}

}
